Platform Explorer / Nuxeo Platform 2021.49

Contribution org.nuxeo.search.ui.layouts--widgets

This contribution is part of XML component org.nuxeo.search.ui.layouts inside nuxeo-search-ui-2021.49.2.jar /OSGI-INF/search-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

32
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="searchPanelLeft" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="hideSubLabels">true</property>
            <property name="ajaxPanelId">searchPanelLeft</property>
          </properties>
          <subWidgetRefs>
            <widget>searchForm</widget>
          </subWidgetRefs>
          <controls mode="any">
            <control name="gridStyleClass">
              gridStyle2 compactLayout nxSearchForm
            </control>
          </controls>
        </widget>
  • <widget name="searchPanelRight" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="hideSubLabels">true</property>
            <property name="ajaxPanelId">searchPanelRight</property>
          </properties>
          <subWidgetRefs>
            <widget>searchResults</widget>
          </subWidgetRefs>
          <controls mode="any">
            <control name="gridStyleClass">
              gridStyle6 nxSearchResults
            </control>
          </controls>
        </widget>
  • <widget name="searchForm" type="documentActions">
          <properties widgetMode="view">
            <property name="category">SEARCH_PANEL_LEFT</property>
          </properties>
        </widget>
  • <widget name="searchResults" type="documentActions">
          <properties widgetMode="view">
            <property name="category">SEARCH_PANEL_RIGHT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
          </controls>
        </widget>
  • <widget name="searchesSelector" type="template">
          <properties widgetMode="any">
            <property name="template">
              /search/widgets/searches_selector_widget_template.xhtml
            </property>
            <property name="ajaxReRender">
              searchPanelLeft searchPanelRight
            </property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
  • <widget name="searchLayout" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
            <property name="useAjaxForm">true</property>
          </controls>
          <subWidgetRefs>
            <widget>searchActions</widget>
            <widget>searchFilters</widget>
            <widget>searchActions</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="searchFilters" type="contentViewSearchLayout">
          <properties widgetMode="any">
            <property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
            <property name="ajaxReRender">searchPanelRight</property>
          </properties>
        </widget>
  • <widget name="searchActions" type="documentActions">
          <properties widgetMode="any">
            <property name="category">SEARCH_FILTER_ACTIONS</property>
            <property name="actionsDisplay">buttons</property>
            <property name="actionStyleClass">button</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="hideSubLabels">true</property>
            <property name="styleClass">searchFilterActions</property>
          </properties>
        </widget>
  • <widget name="searchViewTitle" type="search_view_title"/>
  • <widget name="searchResultsActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">SEARCH_RESULTS_ACTIONS</property>
            <property name="styleClass">globalActionBar</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionStyleClass">button</property>
            <property name="actionsDisplay">buttons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">3</property>
          </properties>
        </widget>
  • <widget name="searchNxqlInput" type="template">
          <properties widgetMode="any">
            <property name="template">
              /search/widgets/search_nxql_input_widget_template.xhtml
            </property>
            <property name="ajaxReRender">
              searchPanelRight
            </property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
  • <widget name="searchContentView" type="contentViewWithForms">
          <properties widgetMode="any">
            <property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
            <property name="showFilterForm">false</property>
            <property name="useAjaxForm">true</property>
            <property name="useAjaxPagination">true</property>
            <property name="styleClass">alignL</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <!-- Grid layout widgets -->

    <widget name="searchPanelLeft" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="hideSubLabels">true</property>
        <property name="ajaxPanelId">searchPanelLeft</property>
      </properties>
      <subWidgetRefs>
        <widget>searchForm</widget>
      </subWidgetRefs>
      <controls mode="any">
        <control name="gridStyleClass">
          gridStyle2 compactLayout nxSearchForm
        </control>
      </controls>
    </widget>

    <widget name="searchPanelRight" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="hideSubLabels">true</property>
        <property name="ajaxPanelId">searchPanelRight</property>
      </properties>
      <subWidgetRefs>
        <widget>searchResults</widget>
      </subWidgetRefs>
      <controls mode="any">
        <control name="gridStyleClass">
          gridStyle6 nxSearchResults
        </control>
      </controls>
    </widget>

    <!-- End of Grid layout widgets -->

    <!-- Main actions widgets -->

    <widget name="searchForm" type="documentActions">
      <properties widgetMode="view">
        <property name="category">SEARCH_PANEL_LEFT</property>
      </properties>
    </widget>

    <widget name="searchResults" type="documentActions">
      <properties widgetMode="view">
        <property name="category">SEARCH_PANEL_RIGHT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
      </controls>
    </widget>

    <!-- End of Main actions widgets -->

    <!-- Search form widgets -->

    <widget name="searchesSelector" type="template">
      <properties widgetMode="any">
        <property name="template">
          /search/widgets/searches_selector_widget_template.xhtml
        </property>
        <property name="ajaxReRender">
          searchPanelLeft searchPanelRight
        </property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
    </widget>

    <widget name="searchLayout" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
        <property name="useAjaxForm">true</property>
      </controls>
      <subWidgetRefs>
        <widget>searchActions</widget>
        <widget>searchFilters</widget>
        <widget>searchActions</widget>
      </subWidgetRefs>
    </widget>

    <widget name="searchFilters" type="contentViewSearchLayout">
      <properties widgetMode="any">
        <property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
        <property name="ajaxReRender">searchPanelRight</property>
      </properties>
    </widget>

    <widget name="searchActions" type="documentActions">
      <properties widgetMode="any">
        <property name="category">SEARCH_FILTER_ACTIONS</property>
        <property name="actionsDisplay">buttons</property>
        <property name="actionStyleClass">button</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="hideSubLabels">true</property>
        <property name="styleClass">searchFilterActions</property>
      </properties>
    </widget>

    <!-- End of Search form widgets -->

    <!-- Search results widgets -->

    <widget name="searchViewTitle" type="search_view_title"/>

    <widget name="searchResultsActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">SEARCH_RESULTS_ACTIONS</property>
        <property name="styleClass">globalActionBar</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionStyleClass">button</property>
        <property name="actionsDisplay">buttons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">3</property>
      </properties>
    </widget>

    <widget name="searchNxqlInput" type="template">
      <properties widgetMode="any">
        <property name="template">
          /search/widgets/search_nxql_input_widget_template.xhtml
        </property>
        <property name="ajaxReRender">
          searchPanelRight
        </property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
    </widget>

    <widget name="searchContentView" type="contentViewWithForms">
      <properties widgetMode="any">
        <property name="contentViewName">#{searchUIActions.currentContentViewName}</property>
        <property name="showFilterForm">false</property>
        <property name="useAjaxForm">true</property>
        <property name="useAjaxPagination">true</property>
        <property name="styleClass">alignL</property>
      </properties>
    </widget>

    <!-- End of Search results widgets -->

  </extension>